﻿using UnityEngine;
using System.Collections;

public class AnimatorComponnent : MonoBehaviour
{
    Animator animator;
    // Use this for initialization
    void Start()
    {
        animator = GetComponentInChildren<Animator>();
    }

    public void SetBool(string paramsName,bool isEnable)
    {
        animator.SetBool(paramsName, isEnable);
    }
}
